// 楼宇相关的接口函数
import request from '@/utils/request'

export function getBuildingListAPI(obj){
    return request({
        url:'/park/building',
        method:'GET',
        params:obj
    })
}

export function delBuildingAPI(id){
    return request({
        url:'/park/building/'+id,
        method:'DELETE'
    })
}

export function addBuildingAPI(obj){
    return request({
        url:'/park/building',
        method:'POST',
        data:obj
    })
}

export function editBuildingAPI(obj){
    return request({
        url:'/park/building',
        method:'PUT',
        data:obj
    })
}
